public class Dy2 {
    public static void main(String[] args) {
        int[][] arr = new int[2][2];

        int sum = 0;
        for (int i = 0; i < 2; i++) {
            for (int j = 0; j < 2; j++) {
                arr[i][j] = ++sum;
            }
        }

        System.out.println(arr[0][1]);
    }
}
